package designPatterns.com.course_design.scrapy.spider;


import designPatterns.com.course_design.scrapy.http.request.Request;

/**
 * @projectName DesignPattern
 * @className designPatterns.com.course_design.scrapy.spider.DuplicateRequestChecker
 * @description
 */

public interface RequestHandler {
    void push(Request request);

    //该层的职责是接收request，将request放入请求队列中，以便后续处理

    void setNextHandler(RequestHandler handler);

}
